﻿@{
    ViewData["Title"] = "WarehouseAdd";
    Layout = "~/Views/Home/Main.cshtml";
}

<h4>仓库管理/仓库列表/添加</h4>

<form class="layui-form" action="">
    <div class="layui-form-item ">
        <div class="layui-inline layui-col-xs5">
            <label class="layui-form-label">仓库编号</label>
            <div class="layui-input-block">
                <input type="text" id="warehouseNo" name="warehouseNo" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline layui-col-xs5">
            <label class="layui-form-label">仓库名称</label>
            <div class="layui-input-block">
                <input type="text" id="warehouseName" name="warehouseName" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline layui-col-xs5">
            <label class="layui-form-label">面积</label>
            <div class="layui-input-block">
                <input type="text" id="warehouseArea" name="warehouseArea" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline layui-col-xs5">
            <label class="layui-form-label">选择仓库区域</label>
            <div class="layui-input-block">
                <select id="reservoirArea" name="reservoirArea" lay-verify="required" lay-filter="aihao">
                    <option value="" selected></option>
                    <option value="A区域">A区域</option>
                    <option value="B区域">B区域</option>
                    <option value="C区域">C区域</option>
                    <option value="D区域">D区域</option>
                </select>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline layui-col-xs5">
            <label class="layui-form-label">位置编号</label>
            <div class="layui-input-block">
                <input type="text" id="locationCoding" name="locationCoding" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline layui-col-xs5">
            <label class="layui-form-label">负责人</label>
            <div class="layui-input-block">
                <input type="text" id="warehouseHead" name="warehouseHead" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline layui-col-xs5">
            <label class="layui-form-label">状态</label>
            <div class="layui-input-block">
                <input type="radio" name="warehouseState" id="normal"  value="true" title="正常" checked>
                <input type="radio" name="warehouseState" id="abnormal" value="false" title="异常">
            </div>
        </div>
        <div class="layui-inline layui-col-xs5">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <input type="text" id="warehouseRemark" name="warehouseRemark" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>

    @* 仓库平面图 *@
    @* <div class="layui-col-xs8" style="background-color:#eeeeee;height:300px;margin-left:50px">
        <label>仓库平面图</label>
        <div style="width:100%;height:70px">
            <label>A区</label>
            <div style="width:50px;height:50px;background-color:white;margin-left:5px">1号仓库</div>
        </div>
        <div style="width:100%;height:70px">
            <label>B区</label>
        </div>
        <div style="width:100%;height:70px">
            <label>C区</label>
        </div>
        <div style="width:100%;height:70px">
            <label>D区</label>
        </div>
    </div> *@

    <div class="layui-form-item">
        <div class="layui-input-block">
            <button type="reset" class="layui-btn layui-btn-primary" onclick="location.href='/Warehouse/WarehouseShow'">取消</button>
            <button type="submit" class="layui-btn" lay-submit lay-filter="formDemo">添加</button>
        </div>
    </div>
</form>

<script src="~/js/warehouse/warehouseadd.js"></script>